----------------------------------Spell Variables--------------------------------------
SPELL.m_iSpellID = 51313 -- Whatever value you want as long as it doesn't override any other spells' IDs.
SPELL.m_iRange = 0
SPELL.m_sName = "Sprint"
SPELL.m_sToolTip = [[Increases speed by 75% for
					2 seconds.]]
SPELL.m_sIcon = "devin/blackbetty/spells/rogue/sprint.png"
SPELL.m_iCoolDown = 1
SPELL.m_iManaCost = 30
SPELL.m_bRequiresTarget = false
SPELL.m_iSpellType = SPELLTYPE_MOBILITY
SPELL.m_bRecastWhileCasting = false

---------------------------------------------------------------------------------------

local range = 100
local weapondamage = 20

function SPELL:Cast( pl, target )
	print("Casted "..self.m_sName.."!")
	pl:EmitSound("devin/blackbetty/weapons/BullRush.wav", 100, 100)
	ParticleEffectAttach( "sprint", PATTACH_POINT_FOLLOW, pl, pl:LookupAttachment("rightfoot"))
	ParticleEffectAttach( "sprint", PATTACH_POINT_FOLLOW, pl, pl:LookupAttachment("leftfoot"))
	local b = AddEffect(pl, 1, "Sprint", 1.75, 0, 3, 1)
	timer.Simple(0.05, function()
	pl:SetNWBool("Casting", false) 
	pl:SetNWBool("Casted", false)
	end)
end



